<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input name="row[app_id]" type="hidden" value="5">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="" disabled class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('用户名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" data-rule="required" class="form-control" name="row[username]" type="text" value="{$row.username}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="" class="form-control" name="row[mobile]" type="text" value="{$row.mobile}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zfmobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zfmobile" data-rule="" class="form-control" name="row[zfmobile]" type="text" value="{$row.zfmobile}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('IMEI转发手机')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ccmobile" data-rule="" class="form-control" name="row[ccmobile]" type="text" value="{$row.ccmobile}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sjxh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sjxh" data-rule="" class="form-control" name="row[sjxh]" type="text" value="{$row.sjxh}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" data-rule="" class="form-control " rows="5" name="row[remark]" cols="50">{$row.remark}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Switch')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input  id="c-switch" name="row[switch]" type="hidden" value="{$row.switch}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-switch" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('新增用户预设时间(秒)')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-txjg" data-rule="required" class="form-control" name="row[txjg]" type="number" value="{$row.txjg}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('App_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_sn" data-rule="required" class="form-control" name="row[app_sn]" type="text" value="{$row.app_sn}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
